// Load dialog on click
$(document).ready(function(){
	$('#basic-modal a').click(function (e) {
	var menu = $(this).html();
	var top, left;
	var cover_link = '#';
	var slot_drain = '#';
	var position = 'absolute';
	var id_name = 'basic-modal-gatic-access';
	var drain_id = 'gatic_slotdrain_details';
	var access_id = 'gatic_cover_details';	
	switch(menu)
	{
	case 'Testimonials':
		return true;
	  break;
	case 'Technical Support':
        return true;
	  break;
	case 'Applications':	  
		return true;	
	  break;
	case 'Product Selector':	
		return true;		
	  break;
	case 'Features &amp; Benefits':	 		
		return true;		
	  break;
	case 'Downloads':	
		return true;		
	  break;
	case 'Case Studies':	
		return true;		
	  break;
	case 'Company':	
		return true;	
	  break;
    case 'Home':
        return true;
	break;
	case 'My Gatic - log in':
		top = '65%';
		left = '337px';	
	break;
	default:
		top = '62%';
		left = '337px';		
	}

	if($(this).html() == 'My Gatic - log in')
	{
		$('#gatic_login_block').css('display','block');
		return false;
	}

		
	});
 })  